FAQ and Manuals about cloudn

Compute-FLAT

This page shows FAQs of Compute-FLAT type.
When you click the question, the answer will be displayed.

Can I replicate the existing virtual server?

[Procedure]
Create a template from the virtual server to be replicated.
2. Download the template.
A template without .qcow2 extension may be downloaded when you download it. Rename it after downloading so that .qcow2 is added.
  * When downloading the template, a download failure may occur.
In the event of failure, contact our customer support using the ticket.   
3. Upload the template to any location (where HTTP access can be performed).
4. Use the template adding function to add the template uploaded.
5. Use the template added to create a virtual server.

   * Note that it takes time for procedures 2 and 4.
   * For templates, read “Cloudⁿ Compute Operation Manual” and “2-05. Templates / ISO” in FAQ.
   * If the virtual server has the additional disks, refer to the FAQ below.
   * If you have the virtual server as snapshot or My template and you replicate one more server from it, the replicated server is not completely the same as the original one on the resources automatically allocated by the cloud system (network-related and IP address settings). Therefore the virtual server cannot be restored to the status of server at the specified date and time in the past.

Detaching a disk fails.

When you detach a disk, you must do one of followings.

1. Unmount the attached or detached disk
2. Stop the virtual server to which it is attached.

If an error occurs in the above situations, contact our support with tickets.

How do I use the snapshots obtained?

You can use a snapshot function to obtain the backup. An example of procedures is shown below:
(1) Stop the virtual server to obtain the backup.
(2) Select a disk to obtain the backup from the [Disk] tab.
(3) Click [Create the snapshots] in the [Actions] tab.

A character error occurs in XML processing of response when executing API.

Specifying the encode of XML header in the response when executing API is wrong.
・XML header

HTTP response header is shown below. The actual encode is utf-8.
・HTTP response header
“Content-Type:text/xml;charset=utf-8″
[Correction plan]
We are sorry but we have no plan for correction currently.

Passwords cannot be reset on the Compute (FLAT type) console.

Confirm the followings and contact us via the support portal if the problem is not resolved.
・The virtual server is created with official templates.
・A transmission rule of security group is not expressly configured.
* When the transmission rule is expressly configured, the TCP 8080 port must be added.

Downloading a disk fails.

In the above situations, a error message “Failure – The volume:xxxxxx is not allowed to be extracted” appears and downloading the disk fails.

・Root disk when a virtual server is created from Windows templates.
・When a virtual server is created from My templates and when [No] is selected in [Download?] in creating templates.

For the 2nd case, you can select [Yes] in [Download?] when uploading My templates to avoid download failure.

Is the ntp server provided in the Cloudn?

We are sorry but we do not provide the ntp server in Cloudn. Please select the appropriate ntp server and set it.

Error appears when changing the plan of Virtual server.

You can’t change the plan from normal plan(except for High memory option) to High memory option(Plan v8HiM [8CPU / 32GB RAM] or Plan v16HiM [16CPU / 64GB RAM]) or vice versa.
You can change the plan among High memory option plan. (e.g. from Plan v8HiM to Plan v16HiM)

Can I bring Microsoft’s Windows OS?

Your Microsoft’s Windows OS cannot be brought into our Cloudn for license reasons.
However if you have the Microsoft’s SPLA license, it is not limited to the above.
For the Microsoft’s SPLA license, see below.

http://www.microsoft.com/ja-jp/licensing/licensing-options/spla-program.aspx

Can I replace the additional disk between virtual servers in the same user?

You can replace the disk between virtual servers in the following method.

1. Detach a disk to be replaced from a source virtual server.
* When detaching the disk, unmount it or stop the virtual server.

2. Attach the disk to the virtual server in the change destination.

3. Confirm that the disk attached is recognized on the virtual server in the change destination.
* Procedures 3./4./5. below are for Linux servers.

# dmesg
    ~~Omitted~~
   [ 130.770735] vda: unknown partition table
* Confirm the above message. Or
# fdisk -l
    ~~Omitted~~
   Disk /dev/vdb: 42.9 GB, 42949672960 bytes
   16 heads, 63 sectors/track, 83220 cylinders, total 83886080 sectors
    Units = sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes

4. Mount the recognized disk on the virtual server.
* The following shows the disk is recognized on /dev/vdb.

# mkdir /mnt/extradisk (to create any mounting directory)
# mount -t ext3 /dev/vdb /mnt/extradisk (to specify the created directory and mount the disk)

5. Confirm that it is mounted on the virtual server normally.
 # df -h
 Filesystem Size Used Avail Use% Mounted on
 /dev/mapper/VolGroup-lv_root
 11G 1.4G 8.5G 14% /
 tmpfs 1012M 0 1012M 0% /dev/shm
 /dev/vda1 485M 33M 428M 7% /boot
 /dev/vdb 15G 166M 14G 2% /mnt/extradisk <=added disk

About processes which should not be stopped in Linux servers

Do not stop these processes for Linux servers (CentOS/Linux/RedHat).
・ACPID (which provides a function to stop safely in [Stop] operation on the Compute console)

License authentication of Windows Server fails.

In the current Windows templates of Cloudn, the license is authenticated by communications with the license authentication server regularly and the transmission rule of security group must allow the communication. If the license authentication fails in the following situations, contact our support with tickets.
・The virtual server is created with official templates.
・A transmission rule of security group is not expressly configured.
* When the transmission rule is expressly configured, add the following configurations to the transmission rule.
Protocol: TCP, Port No.: 1688 and CIDR: 0.0.0.0/0

What can the regular snapshot do?

This menu does not provide “Hourly” and “Daily” in [Scheduled Snapshots]. If you select them, you cannot execute them. When the number of generations configured is exceeded, the older snapshot is overwritten.

(Example)
Scheduled Snapshot: Weekly
Hours: 12:00PM
Day of the week (weekly): Monday
Time zone: JST
Keep: 3 snapshots

When setting as shown in the above, a snapshot will be created at 12:00 PM every Monday.
The 4th snapshot (4th week) overwrites the 1st one.

What is the Windows template edition?

We provide Datacenter Edition.

Windows servers cannot be booted (or connected).

The enclosure of physical server has a failure or the virtual server capacity is changed at maintenance. According to the above, the Windows server may be rebooted.
At that time, Windows Update is performed and it takes a lot of time for starting OS (a few hours to about five hours).
Stop the automatic execution of Windows Update in advance. We recommend you to do the above operation during nighttime.

Show the backup and restoring procedures of virtual server with additional disks.

You can follow these procedures to backup and restore the virtual server with additional disks.

[Target]
Virtual server (VM1) attached with an additional disk (DATA DISK1)

[Procedure]
  

1. Stop the VM1 and detach the DATA DISK1.
(Or unmount the DATA DISK1 and then detach the DATA DISK1.)
2. Create a snapshot from the ROOT DISK while the VM1 is stopped.
3. Create a snapshot from the DATA DISK1 detached.

4. Create a template from the snapshot created in the procedure 2.
5.Create a virtual server (VM2) from the template created in the procedure 4.
6. Create the DATA DISK2 from the snapshot created in the procedure 6.
7. Attach the DATA DISK2 to the VM2 and them mount it.

How can I obtain the backup?

You can use a snapshot function to obtain the backup. An example of procedures is shown below:
(1) Stop the virtual server to obtain the backup.
(2) Select a disk to obtain the backup from the [Disk] tab.
(3) Click [Create the snapshots] in the [Actions] tab.

The virtual server is in “Expunging” status. What is it?

“Expunging” status shows the process in which the server is being completely deleted from the system. Usually it will be deleted for one or two days.
In this status, no charge.

Show how to disable the schedule of regular snapshot configured.

You can follow these procedures to disable the schedule of regular snapshot configured.

1. Select the appropriate disk and click the [Regular snapshot] icon.
2. Click the [x] button to the right of item to be disabled from the snapshot schedule.
3. Confirm that the snapshot schedule is deleted.

How do I use the snapshots obtained?

You can use those snapshots or the template creating function to restore data. An example of procedures is shown below:
(1) Create a template from the root disk or snapshots of virtual server stopped.
(2) Select the template created in (1) from [My templates] and create a virtual server
(if you restore including attached disks).
(3) Click [Create the volume] in the [Actions] tab of snapshots of said disk.
(4) Attach the volume created in (3) to the virtual server created in (2).

What is the HA function (detailed specification in the HA function)?

Q1: Does OS start automatically when using a command to shut down if the HA function is enabled?
A1: Yes. As shown in the detailed virtual server, you can confirm below:
VLAN type is set to [HA enabled: Yes]
FLAT type is set to [High Availability is enabled: Yes]
(* However you can change the setting in the API only.)

Q2: Is “Stop the virtual server” on the Compute console the only way in order not to start the server when the HA function is operating?
A2: Yes. Basically as you said. As an exception, when the HA function is disabled and the guest OS is shut down, the HA function causes not to start the guest OS.

Q3: Does the cloud system start the virtual server automatically and start it automatically at the guest OS level when the HA function is enabled and the physical sever accommodating the virtual server is down due to a failure?
A3: Yes. However we are responsible for starting the virtual server but not responsible for starting it at the guest OS level. We will confirm whether the login from the console is possible or not and notify the customer in the event of problem as soon as possible. In general, please confirm the status.

Q4: What triggers the HA function?
A4: Stopping the guest OS triggers to execute the HA function.
Private IP addresses (VLAN type) allocated to the virtual servers and global IP addresses (FLAT type) are not changed by the HA function operations.

How do I describe the “(source) CIDR” of security group?

Describe the “addresses / prefix values” such as “10.0.0.0/8″ in the “(source) CIDR”.
Also if you do not specify the IP address, describe “0.0.0.0/0″.

How to restore the virtual server which does not start (CentOS)

This section describes how to restore the virtual server which does not start by Kernel Panic (CentOS).

1. Start a server in a single-user mode, start troubleshooting, refer to logs under /var/log and identify / fix the Kernel panic cause.

* For the single-user mode for CentOS, see below.
http://www.centos.org/docs/5/html/5.2/Installation_Guide/s1-rescuemode-booting-single.html

2. Starting in the rescue mode with ISO registered in My ISO and troubleshooting.
Register CentOS in the same version in My ISO, stop the virtual server, and attach ISO to the virtual server. Start it in the rescue mode and execute troubleshooting appropriately in the rescue mode environment.

* For the rescue mode for CentOS, see below.
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-rescuemode-boot.html

Precautions when creating the Windows + SQL servers (“Windows Server 2008 R2 with MSSQL”)

Normally creating the Windows servers with official templates is completed for several minutes (“Running” status on the portal). It actually takes about 10 minutes to allow to log in the server.

For Windows + SQL servers, it may take about one hour to install OS and then SQL completely. When stopping or restarting the virtual server during installation, the SQL server may be installed incompletely.

In order to confirm that installation is completed, select [Virtual server] > [Details], try to perform console login on the console login screen and confirm that the screen allowing login appears (press [Ctrl + Alt + Del] in order for logon).
If the SQL is incompletely installed, create a new virtual server again.

What do I describe in “ICMP type” and “ICMP code” of security group?

When you set the echo requests (ping acknowledgment), enter “8″ in [ICMP type] and “0″ in [ICMP code].

Desktop environment establishment [CentOS 6.3]

Guest OS or higher settings are not supported. You can do on your responsibility.
However you can follow these procedures to install and set the CentOS desktop environment.
#yum -y groupinstall “X Window System” Desktop
#yum -y update libXfont
Then execute the startx command on the console.

It takes time for performing CHKDSK when restarting a Windows server.

When restarting a Windows server, CHKDSK is automatically performed and continues for a long time.

[Cause]
We assume that a hard drive is broken and it requires a lot of time for its repair.

[Countermeasures]
We request Microsoft to improve this situation but have no answer about concrete countermeasures.

We are very sorry but please consider manually performing CHKDSK requires a lot of time and then perform the job.

You can force to stop chkdsk execution at your discretion.
* However we do not recommend this.

You can press any key while the screen appears (for about 10 seconds) to skip chkdsk execution.

I set the network interface of guest OS to DHCP but I cannot get the IP address.

Do not “restart” but “stop” the virtual server temporarily on the Compute console and then “restart” it.
If you cannot get the IP address, contact our support with tickets.

Desktop environment establishment [Ubuntu 12.10]

Guest OS or higher settings are not supported. You can do on your responsibility.

However you can follow these procedures to install and set the Ubuntu desktop environment.
sudo apt-get install xauth
sudo apt-get install xorg
sudo apt-get install openbox
sudo apt-get install ubuntu-desktop

Then execute the startx command on the console.

Can I use the Windows server in English (or other language)?

In order to change the server in Japanese to English, you must install the language pack according to procedures below.

1. Download WindowsServer2008 R2 ServicePack1 multilingual User interface language pack (Windows6.1-KB2483139-x64-en-US). Note that the pack in the different version cannot be installed successfully.
In order to select a local language other than English, change the language in [Select Language] to it.

http://www.microsoft.com/en-us/download/details.aspx?id=2634

* It takes a few time to install it.
Reference: http://kogelog.wordpress.com/2011/06/19/20110619-01/

2. Change the displayed language on the control panel.
Select a keyboard and language in [Region and language] and the appropriate one in [Displayed language].

3. When you change the language in the above, you are prompted to log off. Then log off.
4. Access again on the remote desktop.

You must change the keyboard according to the language setting.

Can I use the CD-ROM for installing OS to create a virtual server?

No, you cannot specify the CD-ROM for installation from your local PC to create a virtual server.

Specify the file in iso format which can be downloaded from Web sited on Internet or the file in iso format on the HTTP server prepared by you, and then add them. When creating a virtual server, you can select it from [ISO] and create the virtual server as OS image.

How to restore the breakage of file system (Linux)

If you do not shut down normally and the virtual server stops, the file system may be broken and OS may not start. The system may be restored by following these procedures to check the file system.

The system may not be restored or breakage increases in these procedures. Therefore perform these procedures on your responsibility.
(1) Register a bootable ISO image to [My ISO].
Obtain the bootable ISO image.http://www.centos.org/modules/tinycontent/index.php?id=32
(2) Attach the above My ISO to the said virtual server.
(3) Start the virtual server from the ISO image without the file system mounted.
(4) Execute the file system check.

As an example, execute the file system check for physical volume (/dev/vda1) and logical volume (/dev/VolGroup00/LogVol00).

Where (4-1)/dev/vda1:
# fsck -fy/dev/vda1

Where (4-2)/dev/VolGroup00/LogVol00:
# lvm vgscan
# lvm lvchange -ay/dev/VolGroup00/LogVol00
# lvm lvs
# fsck -fy /dev/VolGroup00/LogVol00

When deleting a virtual server from the Compute console, is data deleted?

When you delete a virtual server from the Compute console, data of root disk is deleted.
* If you delete data accidentally, you can restore the data within 24 hours of deletion.
* When you attach a disk to the virtual server and then delete the virtual server, the disk is left detached. Delete this disk from the “Disk” menu separately.

What is the upper limit of disks which can be added per virtual server.

The number of disks which can be attached per virtual server is five.

What is “URL” when creating templates?

Enter a URL for file download destination of optional server on which the files of templates to be uploaded (in qcow2 or qcow2.bz format) are located.

Precautions for network setting change

DHCP allocates the IP address to the virtual server automatically. You cannot set it manually.

When you change the network settings of virtual server (including automatic setting when installing applications), note that IP addresses may not be allocated to the virtual server.

Case:
When you use CentOS, application installation adds the settings about MAC for interfaces to the files of /etc/udev/rules.d/70-persistent-net.rules automatically and the IP address may not be allocated.

What is a “console connection” to the virtual server on the Compute console?

It is a remote console function to communicate remotely via a serial port of virtual server from the customer environment. Use this connection for emergency use when you cannot connect with SSH.

Can a I change the plan of data disk (capacity)?

No. Once created, the capacity of data disk cannot be changed. Add a new disk.

An IP address cannot be allocated to the virtual server created from templates.

DHCP allocates the IP address to the virtual server automatically. When you change the network settings of virtual server where the template is created (including automatic setting when installing applications), note that IP addresses may not be allocated to the virtual server created from templates.

Example: /etc/udev/rules.d/70-persistent-net.rules (CentOS)

How is the changed plan charged?

In order to charge in the changed plan, you must start a VM. It needs five or more minutes to determine its start.

What is the capacity of root disk for virtual server created by selecting the official templates?

Linux OS is 15GB. Windows OS is 40GB (SQL Server version is 100G).

This section describes how to mount the added disk when using the Ubuntu official templates.

[Newly creating procedure: Redhat]
Creating a virtual server, attaching the added disk and mounting

1. Creating a virtual server (Refer to “3-1) Creating a virtual server” in “Cloudn Compute Operational Manual”)
* Step 3: We recommend not to add it on the data disk menu (data disk capacity) (select [No necessary]).

2. Add a disk on the Compute console (-> disk) (Refer to “4-1) Adding a disk” in “Cloudn Compute Operational Manual”).

3. Set the firewall and port transferring on the Compute console (-> network -> IP address).
* No. 22 port is opes by default. It is not necessary to execute iptables to open it.

4. Perform SSH login to the virtual server.
===(* Followings are applied only for US data center and RHEL 5.8 64bit)
4-1. Execute the following commands in order to install a module in the virtual server.
* # modprobe acpiphp

4-2. Confirm that settings are reflected.
* # lsmod | grep acpi        
  acpiphp 24080 0

4-3. Set so that acpiphp starts when restarting the virtual server.
* # vi /etc/modules
   modprobe acpiphp

* The server may not restart automatically when adding this setting. In this case, restart it and then execute modprobe acpiphp manually again.
===

5. Attach the added disk on the Compute console (-> disk)

6. Use the shell access to confirm it is normally added.
* # dmesg
    ~~Omitted~~
   [ 130.770735] vda: unknown partition table
* Confirm the above message. Or
* # fdisk -l
    ~~Omitted~~
   Disk /dev/vda: 42.9 GB, 42949672960 bytes
   16 heads, 63 sectors/track, 83220 cylinders, total 83886080 sectors
    Units = sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes

7. Use the shell access to mount the added disk.
* # /sbin/mkfs.ext3 /dev/vda (name confirmed by the fdisk command)
* # mkdir /mnt/extradisk (to specify any directory)
* # mount -t ext3 /dev/vda /mnt/extradisk (to specify the created directory)

8. Use the shell access to confirm it is successfully mounted.
 # df -h
 Filesystem Size Used Avail Use% Mounted on
 /dev/mapper/VolGroup-lv_root
 11G 1.4G 8.5G 14% /
 tmpfs 1012M 0 1012M 0% /dev/shm
 /dev/hda1 485M 33M 428M 7% /boot
 /dev/vda 15G 166M 14G 2% /mnt/extradisk <= added disk

9. [Supplement] Mount the disk automatically.

===
9-1. Use the shell access to add the following line to /etc/fstab.
Example) The following configuration shows that /dev/vda recognized as /dev/vdb is automatically mounted to /mnt/extradisk.
Set the value to “0 0″ (If you set it to other values, the phenomenon occurs, e.g. OS may not start normally due to “#: 1000133 ― the added disk is not normally attached”)

* # vi /etc/fstab
~~Omitted~~
/dev/vdb /mnt/extradisk ext3 defaults 0 0
===

Can I change a setting of security group (only for FLAT type)?

In the current specification, you cannot change and add the security group which is associated with the virtual server. You can change all settings of security group only. * However, the security group has been already associated with other virtual server, note that the changed contents are applied to that server.

Connection from external to the virtual server failed (Communication from external to internal failed).

[Compute FLAT type]
The following network settings are necessary on the Compute console.

(1) Security group setting
Is the setting to allow the communication from external included in [Receiving rule] of security group?
  For setting methods, refer to “6-1) Set the security group” in “Cloudn Compute (FLAT type) Operational Manual”).

Where is the status of virtual server shown?

The status such as “Running” or “Stopped” is shown on the right side on the Compute console connection screen.
Also you can determine the status with colors shown in the virtual server list (Running: Green and Stopped: Red).

This section describes how to mount the added disk when using the CentOS official templates.

[Newly creating procedure: CentOS]
Creating a virtual server and mounting the added disk

1. Creating a virtual server (Refer to “3-1) Creating a virtual server” in “Cloudn Compute Operational Manual”)
* When creating it, use virtio-enabled official templates.
* Step 3: We recommend not to add it on the data disk menu (data disk capacity) (select [No necessary]).

2. Add a disk on the Compute console (-> disk) (Refer to “4-1) Adding a disk” in “Cloudn Compute Operational Manual”).

3. Set the firewall and port transferring on the Compute console (-> network -> IP address).
* No. 22 port is opes by default. It is not necessary to execute iptables to open it.

4. Perform SSH login to the virtual server.
===(* Followings are applied only for US data center and CentOS 5.7 64bit)
4-1. Execute the following commands in order to install a module in the virtual server.
* # modprobe acpiphp

4-2. Confirm that settings are reflected.
* # lsmod | grep acpi        
  acpiphp 24080 0

4-3. Set so that acpiphp starts when restarting the virtual server.
* # vi /etc/modules
   modprobe acpiphp
===

5. Attach the added disk on the Compute console (-> disk).

6. Use the shell access to confirm it is normally added.
* # dmesg
    ~~Omitted~~
   [ 130.770735] vda: unknown partition table
* Confirm the above message. Or
* # fdisk -l
    ~~Omitted~~
   Disk /dev/vdb: 42.9 GB, 42949672960 bytes
   16 heads, 63 sectors/track, 83220 cylinders, total 83886080 sectors
    Units = sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes

7. Use the shell access to mount the added disk.
* # /sbin/mkfs.ext3 /dev/vdb (name confirmed by the fdisk command)
* # mkdir /mnt/extradisk (to specify any directory)
* # mount -t ext3 /dev/vdb /mnt/extradisk (to specify the created directory)

8. Use the shell access to confirm it is successfully mounted.
 # df -h
 Filesystem Size Used Avail Use% Mounted on
 /dev/mapper/VolGroup-lv_root
 11G 1.4G 8.5G 14% /
 tmpfs 1012M 0 1012M 0% /dev/shm
 /dev/vda1 485M 33M 428M 7% /boot
 /dev/vdb 15G 166M 14G 2% /mnt/extradisk <= added disk

9. Execute [Stop] for virtual server on the Compute console and then execute [Start].
(Be sure to execute not [Restart] but [Stop] >> [Start]. If you do not do that, an additional disk will be added.)

10. [Supplement] Mount the disk automatically.

===
10-1. Use the shell access to add the following line to /etc/fstab.
Example) The following configuration shows that /dev/vda recognized as /dev/vdb is automatically mounted to /mnt/extradisk.

* # vi /etc/fstab
~~Omitted~~
/dev/vdb /mnt/extradisk ext3 defaults 0 0
===

Restrictions when combining an additional disk with the root disk or other additional disk and using them

When combining the additional disk as LVM (Linux) or stripe volume (Windows) with the root disk or other additional disk and using them, you can use them. But there are restrictions in that the backup and restore functions by snapshots obtained for the backup purpose do not work.
(Accurately you can obtain just snapshots but cannot use the data disk created from them.)

Example: Two additional disks (40G) are combined and used in CentOS
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
11G 1.6G 8.3G 17% /
tmpfs 246M 0 246M 0% /dev/shm
/dev/vda1 485M 37M 423M 8% /boot
/dev/mapper/datavg-datalv
79G 1.2G 74G 2% /vgdata

When creating two snapshots for the said additional disks, creating two new disks based on those snapshots and attaching them to the virtual server, errors occur. (Errors occur at different times depending on the disk usage status.)
When combining and using the additional disk, the backup and restore functions by snapshots do not work.

Back up them per directory or file, e.g. copy them with rsync/ftp/scp/Object Storage to outside.

Parameter value settings when using the API.

- serviceofferingid:
  DC in East Japan: Plan vQ=200c6378-8ae9-4718-9b25-b8c4f6c1dfc8
         Plan v1=88ce379e-a686-4ae4-946f-dc3358275276
         Plan v2=0b41ab6e-696e-4a91-b623-5b880e3be7a6
         Plan v4=3164027a-3636-4cd5-a8be-f76d51d93a1a
         Plan v8=a40f2dba-e51d-4175-a41d-8c0047e589b7

- templateid: Template IDs used at generation.
(Obtain it from the said template information on the cloud console screen.)

When logging in the virtual server and shutting it down from OS, it will be running after a short time.

When you log in the virtual server and shut down the server from OS, the HA function is enabled to run the server automatically.
* The private IP address allocated to the virtual server running is not changed.

When creating the virtual server on the cloud console, the HA function is enabled by default.
If you want to disable the HA function, select [Edit a virtual server] > [HA function] > [No].
* Note that if you select [No], you cannot run (restore) the said server automatically in the event of server failure.

★ HA function is:
-> Automatic failover function of virtual server. When you select [Yes] in [HA enabled], the server is automatically restored (running) when you stop OS.

When you click the [Stop] button on the cloud console to stop the virtual server, HA is not enabled and you can stop the server.

This section describes how to mount the added disk when using the Windows official templates.

[Newly creating procedure: Windows]
Creating a virtual server, attaching the added disk and mounting

1. Creating a virtual server (Refer to “3-1) Creating a virtual server” in “Cloudn Compute Operational Manual”)
* When creating it, use virtio-enabled official templates.
* Step 3: We recommend not to add it on the data disk menu (data disk capacity) (select [No necessary]).

2. Add a disk on the Compute console (-> disk) (Refer to “4-1) Adding a disk” in “Cloudn Compute Operational Manual”).

3. Set the firewall and port transferring on the Compute console (-> network -> IP address).
* No. 3389 port is opes by default.

4. Use the remote desktop to log in a virtual server.
(Refer to “6-8) Access to the virtual server (RDP connection)” in “Cloudn Compute Operational Manual”).

5. Attach the added disk on the Compute console (-> disk).

6. Mount the added disk from [Server manager] > [Disk management].
(Refer to “4-5) Mount the disk (for Windows OS)” in “Cloudn Compute Operational Manual”).

7. Execute [Stop] for virtual server on the Compute console and then execute [Start].
(Be sure to execute not [Restart] but [Stop] >> [Start]. If you do not do that, an additional disk will be added.)

Restrictions when creating a virtual server from templates

In East Japan region, there are two zones.
(In USA and West regions, there is a single zone).

You cannot create a virtual server from templates created in Zone A into Zone B. (And vice versa).

Pay attentions when creating the templates (and virtual server).

If you move the templates in Zone A to Zone B, copy those templates.

I cannot understand how to use the Compute API concretely.

Refer to the documents below as needed.
■ API reference provided by our company
・”Compute API Manual” (method for creating API requests and a list of support API)

■CloudStack API Document
・Detailed documents including arguments and return values of each command

[FLAT type]
http://download.cloud.com/releases/3.0.3/api_3.0.3/TOC_Domain_Admin.html

It takes time for Windows Update when restarting a Windows server.

When restarting a Windows server, Windows Update is automatically performed and many updates continues for a long time. (See the screen below)

[Cause]
When performing Windows Update, the disk I/O in a very small size continues after restarting depending on Update content.
A phenomenon occurs immediately after restarting and the number of processes or drivers running is very smaller than normal operation. Therefore we assume that the phenomenon which needs a lot of time occurs.

[Countermeasures]
We request Microsoft to optimize the size of disk I/O which is processed immediately after restart but have no answer about concrete countermeasures.

We are very sorry but please consider Windows Update requires a lot of time and then perform the job.

Can I move the disk currently held in one account into another account?

Disk has two types, root disk and data disk. The migration method is different depending on a disk type.

■ Data disk
A data disk cannot be migrated using snapshots. Migrate the file from the migration source virtual server by scp, etc.

■ Root disk
A root disk can be migrated between accounts using templates.

[Migration method]
(1) Create a template from the virtual server to be migrated with the migration source account. You can create the template from snapshots.

(2) Download the template. The template without .qcow2 extension may be downloaded when you download it. Rename it after downloading so that .qcow2 is added. * When downloading the template, a download failure may occur. Contact us in the event of failure. * Renaming is all right after step (3).

(3) Upload the template to any location (where HTTP access can be performed).

(4) Use the template adding function from the migration destination account to add the template uploaded.

(5) After finishing addition, use the template added to create a virtual server.

(6) Confirm all actions are normal and then delete the migration source virtual server. (option).

* It takes time for (2) Downloading and (4) Adding templates. * For templates, read “Cloudⁿ Compute Operation Manual”

Is there any restrictions in the regular snapshot function?

We have the restrictions below.

1. We provide “Hourly”, “Daily”, “Weekly” and “Monthly” as selection item. We do not provide the current state functions for “Hourly” and “Daily”.
(* You cannot specify “Hourly” and “Daily” as parameters of intervaltype of “createSnapshotPolicy” command on both Compute console and Compute API.)
(* You can have these alternative methods of “Daily”:
A: Change the hour of regular snapshot from API everyday.
B: Execute snapshots manually with cron everyday.)

2. We recommend you to stop a virtual server and then obtain the snapshots (Of course there is no problem during operation. It is at your discretion. During operation, the virtual server has higher loads for a few to 10 seconds immediately after snapshots are obtained. There is no problem during obtaining.)

3. Obtaining may fail when DISKs (ROOT-DISK and DATA-DISK) which belong to the same virtual server have the same execution times for obtaining snapshots. Shift those times and then obtain them.

4. When using lvm to expand the route partition, you may be able to create snapshots of that root disk. But when you create a virtual server from those snapshots, Kernel panic occurs.

Can I use Amazon EC2-compatible API in the FLAT type?

Yes. You can follow these procedures to use it.
The API endpoint is shown below.

https://comp-apia.jp-e1.cloudn-service.com/awsapi

This section describes how to obtain the virtual server information using Amazon EC2 API Tools with an example of the “ec2-describe-instances” command which shows the virtual server information.
(1) Downloading Amazon EC2 API Tools
Download Amazon EC2 API Tools from the URL below and decompress it in the appropriate location.

http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.6.2.0.zip

(2) Environmental variable setting
$ export EC2_HOME=/XXXXX/ec2-api-tools-1.6.2.0
$ export EC2_CERT=/XXXXX/cert.pem
$ export EC2_PRIVATE_KEY=/XXXXX/private_key.pem
$ export EC2_URL=https://comp-apia.jp-e1.cloudn-service.com/awsapi
$ export PATH=$PATH:$JAVA_HOME/bin:$EC2_HOME/bin
$ export JAVA_HOME=/usr/lib/jvm/jre-openjdk/
(Describe the location where java is installed.)
* In order to use this API, Java must be installed.
* Describe export for sh and bash, and setenv for csh and tesh.

Copyright © Cloudn Information site All Rights Reserved.